﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Namespace roncliProductions.LibWowArmory.Character.Feed

    Public Class FeedEvent

        ''' <summary>
        ''' The name of the character
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Character As String

        ''' <summary>
        ''' The URL of the character on the Armory
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property CharacterURL As String

        ''' <summary>
        ''' The date of the event
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property EventDate As Date

        ''' <summary>
        ''' The description of the event
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Description As String

        ''' <summary>
        ''' The icon associated with the event
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Icon As String

        ''' <summary>
        ''' A generic identification number whose meaning changes depending on the EventType
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property ID As Integer

        ''' <summary>
        ''' The number of achievement points the event is worth
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Points As Integer

        ''' <summary>
        ''' An unknown value tracked by Blizzard
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property RelDate As String

        ''' <summary>
        ''' The inventory slot the item is worn in
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Slot As Enums.ItemSlotType

        ''' <summary>
        ''' The sorting used on the Armory
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Sort As Enums.FeedSortType

        ''' <summary>
        ''' The title of the event
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Title As String

        ''' <summary>
        ''' The tooltip associated with the event
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Tooltip As String

        ''' <summary>
        ''' The event type
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property EventType As Enums.FeedEventType

        ''' <summary>
        ''' Constructor to create new feed event information
        ''' </summary>
        ''' <param name="strCharacter"></param>
        ''' <param name="strCharacterURL"></param>
        ''' <param name="dtEventDate"></param>
        ''' <param name="strDescription"></param>
        ''' <param name="strIcon"></param>
        ''' <param name="intID"></param>
        ''' <param name="intPoints"></param>
        ''' <param name="strRelDate"></param>
        ''' <param name="isSlot"></param>
        ''' <param name="fsSort"></param>
        ''' <param name="strTitle"></param>
        ''' <param name="strTooltip"></param>
        ''' <param name="feEventType"></param>
        ''' <remarks></remarks>
        Public Sub New(ByVal strCharacter As String, ByVal strCharacterURL As String, ByVal dtEventDate As Date, ByVal strDescription As String, ByVal strIcon As String, ByVal intID As Integer, ByVal intPoints As Integer, ByVal strRelDate As String, ByVal isSlot As Enums.ItemSlotType, ByVal fsSort As Enums.FeedSortType, ByVal strTitle As String, ByVal strTooltip As String, ByVal feEventType As Enums.FeedEventType)
            Character = strCharacter
            CharacterURL = strCharacterURL
            EventDate = dtEventDate
            Description = strDescription
            Icon = strIcon
            ID = intID
            Points = intPoints
            RelDate = strRelDate
            Slot = isSlot
            Sort = fsSort
            Title = strTitle
            Tooltip = strTooltip
            EventType = feEventType
        End Sub

    End Class

End Namespace
